package com.ticorp.framework.service.exception;

import com.ticorp.framework.web.bean.BapiReturnBean;


/**
 * Clase para el manejo no checkeado de excepciones.
 * Extiende de {@link RuntimeException}
 * @author naudanter
 *
 */
public class BapiException extends RuntimeException {

	private static final long serialVersionUID = -2851979373463453709L;

	private BapiReturnBean bapiReturnBean;

	public BapiException(String message) {
		super(message);
	}

	public BapiException(String message, Throwable cause) {
		super(message, cause);
	}

	public BapiReturnBean getBapiReturnBean() {
		return bapiReturnBean;
	}
}
